package waitNotifyBlockingQueue;



import java.util.concurrent.ArrayBlockingQueue;

public class Main {
    public static void main(String[] args) {
        ArrayBlockingQueue<String> queue = new ArrayBlockingQueue<>(1);
        Thread f = new Foodie(queue);
        Thread c = new Cook(queue);
        f.start();
        c.start();

    }
}
